package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 云库存对象 bdm_cloud_inventory
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BdmCloudInventory
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 进货价 */
    @Excel(name = "进货价")
    private BigDecimal stockPrice;

    /** 建议零售价 */
    @Excel(name = "建议零售价")
    private BigDecimal retailPrice;

    /** 利润 */
    @Excel(name = "利润")
    private BigDecimal profit;

    /** 库存 */
    @Excel(name = "库存")
    private String goodInventory;

    /** 商品主图 */
    @Excel(name = "商品主图")
    private String goodImg;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String goodSpecs;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;
    private String remark;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
